/*global $, nw */

"use strict";

$(function() {
    // start the application!
    var dom = new nw.plugins.Dom();
    nw.core = new nw.Core();
    nw.core.loadModule(nw.enums.views.v1, nw.module.M1);
    nw.core.loadModule(nw.enums.views.v2, nw.module.M2);
    nw.core.loadModule(nw.enums.views.v3, nw.module.M3);
    nw.core.loadPlugin("dom", dom);
    nw.core.loadPlugin("template", new nw.plugins.Template(dom));
    nw.core.init(new nw.Sandbox(nw.core));
});